#include <FieldValue.h>
Public Member Functions | |
FieldValue (DataIntegrity dataIntegrity, uint32_t size) | |
Constructor. | |
T * | pendingBuffer (char *pFV) |
Returns reference to pending buffer. | |
T * | activeBuffer (char *pFV) |
Returns reference to pending buffer. | |
void | setPendingCurrentSize (uint32_t currentSize) |
change the current size of the array | |
void | setActiveCurrentSize (uint32_t currentSize) |
change the current size of the array | |
uint32_t | getPendingCurrentSize () |
uint32_t | getActiveCurrentSize () |
Private Attributes | |
uint32_t | offset_ [2] |
uint32_t | currentSize_ [2] |
current size of the array | |
bool | isSingleBuffer_ |
Definition at line 178 of file FieldValue.h.
fesa::FieldValue< T[]>::FieldValue | ( | DataIntegrity | dataIntegrity, | |
uint32_t | size | |||
) | [inline] |
Constructor.
Definition at line 229 of file FieldValue.h.
References fesa::DoubleBuffered, fesa::FieldValue< T >::offset_, fesa::FieldValueBase::P1, fesa::FieldValueBase::pendingChanged_, fesa::FieldValueBase::phase_, and fesa::FieldValueBase::toBeSync_.
T * fesa::FieldValue< T[]>::activeBuffer | ( | char * | pFV | ) | [inline] |
Returns reference to pending buffer.
Definition at line 259 of file FieldValue.h.
References fesa::FieldValue< T >::offset_, fesa::FieldValueBase::P1, and fesa::FieldValueBase::phase_.
Referenced by fesa::FieldArray< T >::copyValue(), fesa::SettingFieldArray< T >::get(), fesa::GenericFieldArray< T >::get(), fesa::ConfigFieldArray< T >::get(), fesa::AcqFieldArray< T >::get(), fesa::SettingFieldStructArray< T >::getCell(), fesa::SettingFieldScalarArray< T >::getCell(), fesa::GenericFieldStructArray< T >::getCell(), fesa::GenericFieldScalarArray< T >::getCell(), fesa::ConfigFieldStructArray< T >::getCell(), fesa::ConfigFieldScalarArray< T >::getCell(), fesa::AcqFieldStructArray< T >::getCell(), fesa::AcqFieldScalarArray< T >::getCell(), fesa::FieldArray< T >::getValueToStore(), fesa::GenericFieldStructArray< T >::setCell(), and fesa::AcqFieldStructArray< T >::setCell().
uint32_t fesa::FieldValue< T[]>::getActiveCurrentSize | ( | ) | [inline] |
Definition at line 275 of file FieldValue.h.
References fesa::FieldValueBase::P1, and fesa::FieldValueBase::phase_.
Referenced by fesa::SettingFieldArray< T >::get(), fesa::GenericFieldArray< T >::get(), fesa::ConfigFieldArray< T >::get(), fesa::AcqFieldArray< T >::get(), fesa::SettingFieldStructArray< T >::getCell(), fesa::SettingFieldScalarArray< T >::getCell(), fesa::GenericFieldStructArray< T >::getCell(), fesa::GenericFieldScalarArray< T >::getCell(), fesa::ConfigFieldStructArray< T >::getCell(), fesa::ConfigFieldScalarArray< T >::getCell(), fesa::AcqFieldStructArray< T >::getCell(), fesa::AcqFieldScalarArray< T >::getCell(), fesa::SettingFieldArray< T >::getSize(), fesa::GenericFieldArray< T >::getSize(), fesa::ConfigFieldArray< T >::getSize(), fesa::AcqFieldArray< T >::getSize(), fesa::SettingFieldStructArray< T >::setCell(), and fesa::SettingFieldScalarArray< T >::setCell().
uint32_t fesa::FieldValue< T[]>::getPendingCurrentSize | ( | ) | [inline] |
Definition at line 265 of file FieldValue.h.
References fesa::FieldValueBase::P1, and fesa::FieldValueBase::phase_.
Referenced by fesa::SettingFieldStructArray< T >::setCell(), fesa::SettingFieldScalarArray< T >::setCell(), fesa::GenericFieldStructArray< T >::setCell(), fesa::GenericFieldScalarArray< T >::setCell(), fesa::AcqFieldStructArray< T >::setCell(), and fesa::AcqFieldScalarArray< T >::setCell().
T * fesa::FieldValue< T[]>::pendingBuffer | ( | char * | pFV | ) | [inline] |
Returns reference to pending buffer.
Definition at line 253 of file FieldValue.h.
References fesa::FieldValue< T >::offset_, fesa::FieldValueBase::P1, and fesa::FieldValueBase::phase_.
Referenced by fesa::SettingFieldArray< T >::get(), fesa::SettingFieldStructArray< T >::getCell(), fesa::SettingFieldScalarArray< T >::getCell(), fesa::FieldArray< T >::getValueToStore(), fesa::SettingFieldArray< T >::set(), fesa::GenericFieldArray< T >::set(), fesa::AcqFieldArray< T >::set(), fesa::SettingFieldStructArray< T >::setCell(), fesa::SettingFieldScalarArray< T >::setCell(), fesa::GenericFieldScalarArray< T >::setCell(), and fesa::AcqFieldScalarArray< T >::setCell().
void fesa::FieldValue< T[]>::setActiveCurrentSize | ( | uint32_t | currentSize | ) | [inline] |
change the current size of the array
Definition at line 299 of file FieldValue.h.
References fesa::FieldValueBase::P2, and fesa::FieldValueBase::phase_.
Referenced by fesa::FieldArray< T >::copyValue().
void fesa::FieldValue< T[]>::setPendingCurrentSize | ( | uint32_t | currentSize | ) | [inline] |
change the current size of the array
Definition at line 285 of file FieldValue.h.
References fesa::FieldValueBase::P1, and fesa::FieldValueBase::phase_.
Referenced by fesa::FieldArray< T >::copyValue(), fesa::SettingFieldArray< T >::set(), fesa::GenericFieldArray< T >::set(), fesa::AcqFieldArray< T >::set(), fesa::SettingFieldStructArray< T >::setCell(), fesa::SettingFieldScalarArray< T >::setCell(), fesa::GenericFieldStructArray< T >::setCell(), fesa::GenericFieldScalarArray< T >::setCell(), fesa::AcqFieldStructArray< T >::setCell(), and fesa::AcqFieldScalarArray< T >::setCell().
uint32_t fesa::FieldValue< T[]>::currentSize_[2] [private] |
current size of the array
Definition at line 223 of file FieldValue.h.
bool fesa::FieldValue< T[]>::isSingleBuffer_ [private] |
Definition at line 225 of file FieldValue.h.
uint32_t fesa::FieldValue< T[]>::offset_[2] [private] |
Definition at line 218 of file FieldValue.h.